import { createSSRApp } from "vue";
import { createPinia } from "pinia";
import uniPopup from '@dcloudio/uni-ui/lib/uni-popup/uni-popup.vue'

const pinia = createPinia();

import App from "./App.vue";
export function createApp() {
  const app = createSSRApp(App);
  app.component('uni-popup', uniPopup)
  app.use(pinia);
  return {
    app,
  };
}

